package com.yamt.activity;

import android.R;
import android.app.Activity;
import android.os.Bundle;
import com.yamt.fragment.SettingsFragment;

public class SettingsActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        if(savedInstanceState == null){
            SettingsFragment settingsFragment = new SettingsFragment();
            getFragmentManager().beginTransaction().add(R.id.content, settingsFragment, settingsFragment.getClass().getSimpleName())
                                                   .commit();
        }
    }
}
